﻿<!--{if empty($_TPL['getmore'])}-->	
<!--{eval $_TPL['titles'] = array('联盟');}-->
<!--{template header}-->

<div id="content">

	<!--{if $space['uid'] && $space[self]}-->
	<table cellpadding="0" cellspacing="0" border="0" width="100%">
		<tr>
			<td valign="top">
				<!--{template space_union_speak}-->
			</td>
		</tr>
	</table>
	<!--{/if}-->
	<div class="feed">
		<div id="feed_div" class="enter-content">

<!--{/if}-->

			<!--{if $unioninfolist}-->
			<ul id="uinfo_list">
			<!--{loop $unioninfolist $value}-->
				<!--{template space_union_li}-->
			<!--{/loop}-->
			</ul>
			<div id='newunioninfo'></div>
			<!--{else}-->
			<ul>
				<li>没有相关动态</li>
			</ul>
			<!--{/if}-->

<!--{if empty($_TPL['getmore'])}-->
		</div>

		<div id="ajax_wait"></div>

	</div>
</div>
<!--/content-->
<script>
	function delunioninfo(infoid, flag){
		if(flag){
			$("do_del_"+infoid).style.display="block";
		}else{
			$("do_del_"+infoid).style.display="none";
		}
	}
	function delinfo(liid,infoid){
		var x = new Ajax();
		var result = confirm("确定删除吗?")
		if (result) {
			jQuery("#"+liid).hide(1000);
			x.get('cp.php?ac=union&op=delete&infoid='+infoid,function(s){if(!s) alret("删除出错了！");});
		}

		//$("uinfo_list").removeChild($(liid));

	}
</script>
<div id="sidebar">

	<div class="sidebox">
		<h2 class="title">
			<p class="r_option">
				<a href="space.php?do=top">排行</a>
			</p>
			热烈欢迎新成员
		</h2>
		<ul class="avatar_list">

			<li>
				<div class="avatar48"><a href="space.php?uid=1"><!--{avatar(1,small)}--></a></div>
				<p class="online_icon_p" title="在线"><a href="space.php?uid=1" title="">1111</a></p>
				<p class="gray"></p>
			</li>

		</ul>
	</div>


	<!--{if $visitorlist}-->
	<div class="sidebox">
		<h2 class="title">
			<p class="r_option">
				<a href="space.php?uid=$space[uid]&do=friend&view=visitor">全部</a>
			</p>
			最近来访
			<!--{if $_SGLOBAL[magic][detector]}-->
			<span class="gray"><img src="image/magic/detector.small.gif" title="{$_SGLOBAL[magic][detector]}" /><a id="a_magic_detector" href="magic.php?mid=detector" onclick="ajaxmenu(event,this.id,1)">{$_SGLOBAL[magic][detector]}</a></span>
			<!--{/if}-->
		</h2>
		<ul class="avatar_list">
			<!--{loop $visitorlist $key $value}-->
			<li>
				<!--{if $value[vusername] == ''}-->
				<div class="avatar48"><img src="image/magic/hidden.gif" alt="匿名" /></a></div>
				<p>匿名</p>
				<p class="gray"><!--{date('n月j日',$value[dateline],1)}--></p>
				<!--{else}-->
				<div class="avatar48"><a href="space.php?uid=$value[vuid]"><!--{avatar($value[vuid],small)}--></a></div>
				<p<!--{if $ols[$value[vuid]]}--> class="online_icon_p" title="在线"<!--{/if}-->><a href="space.php?uid=$value[vuid]" title="{$_SN[$value[vuid]]}">{$_SN[$value[vuid]]}</a></p>
				<p class="gray"><!--{date('n月j日',$value[dateline],1)}--></p>
				<!--{/if}-->
			</li>
			<!--{/loop}-->
		</ul>
	</div>
	<!--{/if}-->

	<!--{if $olfriendlist}-->
	<div class="sidebox">
		<h2 class="title">
			<p class="r_option">
				<a href="space.php?uid=$space[uid]&do=friend">全部</a>
			</p>
			我的好友
			<!--{if $_SGLOBAL[magic][visit]}-->
			<span class="gray"><img src="image/magic/visit.small.gif" title="{$_SGLOBAL[magic][visit]}" /><a id="a_magic_visit" href="magic.php?mid=visit" onclick="ajaxmenu(event,this.id,1)">{$_SGLOBAL[magic][visit]}</a></span>
			<!--{/if}-->
		</h2>
		<ul class="avatar_list">
			<!--{loop $olfriendlist $key $value}-->
			<li>
				<div class="avatar48"><a href="space.php?uid=$value[uid]"><!--{avatar($value[uid],small)}--></a></div>
				<p<!--{if $ols[$value[uid]]}--> class="online_icon_p" title="在线"<!--{/if}-->><a href="space.php?uid=$value[uid]" title="{$_SN[$value[uid]]}">{$_SN[$value[uid]]}</a></p>
				<p class="gray"><!--{if $value[lastactivity]}--><!--{date('H:i',$value[lastactivity],1)}--><!--{else}-->热度($value[num])<!--{/if}--></p>
			</li>
			<!--{/loop}-->
		</ul>
	</div>
	<!--{/if}-->

	<div class="searchfriend">
		<div class="ye_r_t"><div class="ye_l_t"><div class="ye_r_b"><div class="ye_l_b">
			<h3>搜索用户</h3>
			<form method="get" action="cp.php" style="padding:10px 0 5px 0;">
				<input name="searchkey" value="" size="20" class="t_input" type="text">
				<input name="searchsubmit" value="找人" class="submit" type="submit">
				<input type="hidden" name="searchmode" value="1" />
				<input type="hidden" name="ac" value="friend" />
				<input type="hidden" name="op" value="search" />
			</form>
			<p>
				<a href="cp.php?ac=friend&op=search">高级搜索</a><span class="pipe">|</span>
				<a href="cp.php?ac=friend&op=find">可能认识的人</a><span class="pipe">|</span>
				<a href="cp.php?ac=invite">邀请好友</a></p>
		</div></div></div></div>
	</div>

</div>
<!--/sidebar-->
</div>
</div>
<!--{eval my_checkupdate();}-->
<!--{template footer}-->
<!--{/if}-->